package com.xiaoshuidi.cloud.module.rooms.mq.event;

import com.xiaoshuidi.cloud.framework.filings.core.service.dto.InventoryCheckBo;
import com.xiaoshuidi.cloud.framework.filings.core.service.dto.InventoryRoomCheckBo;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author hans.zhang
 */
@Getter
public class InventoryCheckEvent extends ApplicationEvent {

    private InventoryCheckBo inventoryCheckBo;
    private InventoryRoomCheckBo inventoryRoomCheckBo;
    private Long tennerId;


    public InventoryCheckEvent(Object source, InventoryCheckBo inventoryCheckBo, InventoryRoomCheckBo inventoryRoomCheckBo, Long tennerId) {
        super(source);
        this.inventoryCheckBo = inventoryCheckBo;
        this.inventoryRoomCheckBo = inventoryRoomCheckBo;
        this.tennerId = tennerId;
    }
}
